From: Benjamin Otte Date: Sat, 25 Mar 2023 23:43:58 +0000 (+0100) Subject: popover: Fix typo X-Git-Tag: archive/raspbian/4.12.3+ds-1+rpi1~1^2^2^2~59^2^2~501^2~2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=da9b19804dcae5e7b5a9177b7304c921cb074aad;p=gtk4.git popover: Fix typo The typo causs gnome-shell to crah, which is somewhat suboptimal. It was introduced in 1a9c7a4b1fb. --- diff --git a/gtk/gtkpopover.c b/gtk/gtkpopover.c index ff2e12cd87..9aafd1e698 100644 --- a/gtk/gtkpopover.c +++ b/gtk/gtkpopover.c @@ -468,7 +468,7 @@ compute_surface_pointing_to (GtkPopover *popover, rect->x = (int) floor (bounds.origin.x + nx); rect->y = (int) floor (bounds.origin.y + ny); rect->width = (int) ceilf (bounds.size.width); - rect->width = (int) ceilf (bounds.size.height); + rect->height = (int) ceilf (bounds.size.height); } static GdkPopupLayout *